package com.log.james.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 用户级别的操作
 */
@Mapper
public interface UserDao {

    @Select("select password from user where username = #{name}")
    String findPassword(@Param("name")String name);

}
